From: Florian Müllner Date: Mon, 8 Oct 2012 18:33:21 +0000 (+0200) Subject: dash: Reset show-apps label on drag-end X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~5607 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=cf58a7eafd1d8be1e903147b1a8f156acb484fc4;p=gnome-shell.git dash: Reset show-apps label on drag-end Currently the label for the show-apps button is only updated during drag operations, so after an item is successfully dropped on the button, the label will still read "Remove from Favorites". Fix this by resetting the label on drag-end. https://bugzilla.gnome.org/show_bug.cgi?id=684627 --- diff --git a/js/ui/dash.js b/js/ui/dash.js index dc08b68ab..b564aea8c 100644 --- a/js/ui/dash.js +++ b/js/ui/dash.js @@ -446,6 +446,7 @@ const Dash = new Lang.Class({ _endDrag: function() { this._clearDragPlaceholder(); + this._showAppsIcon.setDragApp(null); DND.removeDragMonitor(this._dragMonitor); },